package com.NetWork.PlayerStatus;

public class PlayerStatus {
    private int ClientId;
    private int id;
    private double x;
    private double y;
    private double Health;
    private double Energy;
    private double tx;
    private double Damage;
    private boolean isBlocking;

    public PlayerStatus(int id, double x, double y,
                        double Health, double Energy,
                        double tx, double Damage,
                        boolean isBlocking) {
        this.id = id;
        this.x = x;
        this.y = y;
        this.Health = Health;
        this.Energy = Energy;
        this.tx = tx;
        this.Damage = Damage;
        this.isBlocking = isBlocking;

    }

    public double getX() {
        return x;
    }

    public double getY() {
        return y;
    }

    public int getId() {
        return id;
    }

    public boolean isBlocking() {
        return isBlocking;
    }

    public void setBlocking(boolean blocking) {
        isBlocking = blocking;
    }

    public double getTx() {
        return tx;
    }


    public double getEnergy() {
        return Energy;
    }

    public double getHealth() {
        return Health;
    }

    public double getDamage() {
        return Damage;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setX(double x) {
        this.x = x;
    }

    public void setY(double y) {
        this.y = y;
    }

    public void setHealth(double health) {
        Health = health;
    }

    public void setEnergy(double energy) {
        Energy = energy;
    }

    public void setTx(double tx) {
        this.tx = tx;
    }

    public void setDamage(double damage) {
        Damage = damage;
    }

    public int getClientId() {
        return ClientId;
    }

    public void setClientId(int clientId) {
        ClientId = clientId;
    }
}
